/**
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 */

#ifndef JPEGE_DRV_JPEGE_H
#define JPEGE_DRV_JPEGE_H

#include "dvpp_cmdlist.h"
#include "dvpp_decoder.h"

void drv_jpege_config_sqe(struct CmdBuf *cmd_buf, enum dvpp_sqe_ptr_mode mode, uint32_t blkdim, struct dvpp_sqe *sqe);
void drv_jpege_config_sqelist(struct CmdBuf *cmd_buf, uint32_t sqe_idx, uint32_t blkdim);
void drv_jpege_build_cmdnode(dvpp_decoder *decoder, struct CmdNode *node, uint32_t node_idx);
void drv_jpege_cmdnode_set_next_node(struct CmdBuf *cmd_buf, struct CmdNode *node);
void drv_jpege_cmdnode_set_interrupt(struct CmdNode *node, uint32_t isLastNode);

#endif // #ifndef JPEGE_DRV_JPEGE_H
